<template>
<div></div>
</template>

<script>
export default {
  name: "FlowNode",

  data(){
    return{
      flowNode:{
        "fid":1,
        "nodeName":"cxg审批",
        "roleId":"1"
      }

    }
  },
  methods:{
    add() {
      const param=new URLSearchParams()
      param.append("fid",this.flowNode.fid)
      param.append("nodeName",this.flowNode.nodeName)
      param.append("roleId",this.flowNode.roleId)
      this.$http.post("/flownodes", param)
          .then(res => {
            console.log(res)
          })
    }
  },
  created() {
    this.add()
  }


}
</script>

<style scoped>

</style>